package com.ruoyi.common.enums;

/**
 * 用户状态
 * 
 * @author ruoyi
 */
public enum RoleType
{
    ADMIN(1L, "超级管理员"),
    MINIADMIN(2L, "管理员"),
    OPERATION(3L, "运维"),
    HIGHAGENT(4L, "高级代理"),
    AGENT(5L, "代理"),
    COMMON(6L, "商户");

    private final Long code;
    private final String info;

    RoleType(Long code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public Long getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
